<template>
  <div class="wrapper">
    	<design-preview :table-data="pagesContent"></design-preview>
  </div>
</template>

<script>
import designPreview from "@/views/ui/components/preview/design-preview.vue";
import {
getUserLayoutOrgStart
} from '@/api/uiDesign.js'
export default {
name:'',
components: {designPreview },
  props:{},
  data(){
    return {
      view:'designNews',
				pagesContent:{}
    }
  },
  watch:{},
  computed:{},
  methods:{
   async getUserLayoutOrgStart(){
       let res =await getUserLayoutOrgStart();
       console.log(res) 
             if(res.success){
        this.pagesContent=res.result
       }else{
        this.$Message.error(res.message)
       }
    }
  },
  created(){},
  mounted(){
     this.getUserLayoutOrgStart()
  }
}
</script>
<style lang="less" scoped>
.wrapper{
    width:100%;
    height: 100%;
    }
</style>